package com.webservice.xmloper.visitlogcode;

import java.util.ArrayList;
import java.util.List;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamImplicit;

@XStreamAlias("logQueryResult")
public class VisitLogReportXml {
	private String commandId;
	private String idcId;
	private VisitLogResult result;
	@XStreamImplicit
	private List<VisitLog> logs = new ArrayList<VisitLog>();
	private String timeStamp;


	public void addLog(VisitLog visitLog){
		logs.add(visitLog);
	}
	
	public String getCommandId() {
		return commandId;
	}

	public void setCommandId(String commandId) {
		this.commandId = commandId;
	}
	public String getIdcId() {
		return idcId;
	}
	public void setIdcId(String idcId) {
		this.idcId = idcId;
	}

	public VisitLogResult getResult() {
		return result;
	}

	public void setResult(VisitLogResult result) {
		this.result = result;
	}

	public List<VisitLog> getLogs() {
		return logs;
	}

	public void setLogs(List<VisitLog> logs) {
		this.logs = logs;
	}

	public String getTimeStamp() {
		return timeStamp;
	}

	public void setTimeStamp(String timeStamp) {
		this.timeStamp = timeStamp;
	}
}
